#!/bin/bash
#filename:   chmodall

USAGE="Usage:$0<directory>"
DIR=${1:?"Error.$USAGE.You must specify a directory."}
find $DIR -type d -exec chown -R nobody:nobody {} \;
find $DIR -type d -exec chmod 777 {} \;
